package com.hqq.behaviour.dependency_injection;

/**
 * SimpleWizard
 * Created by heqianqian on 2017/6/14.
 */
public class SimpleWizard implements Wizard {

    private OldTobyTobacco oldTobyTobacco;

    public SimpleWizard() {
        oldTobyTobacco = new OldTobyTobacco();
    }

    @Override
    public void smoke() {
        oldTobyTobacco.smoke(this);
    }
}
